package com.zh.web.domain.auth.dto;

import com.zh.web.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "删除用户角色参数")
public class DelRole2UserDto extends BaseDto implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户id", required = true)
    @NotNull
    private Long userId;
    @ApiModelProperty(value = "角色编码", required = true)
    @NotNull
    private Integer roleCode;
}
